package com.ruoyi.yyq.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

/**
 * 加油站和汽油种类中间对象 car_gas_station_type
 * 
 * @author ruoyi
 * @date 2025-05-12
 */
public class CarGasStationType extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键id */
    private Long id;

    /** 加油站id */
    @Excel(name = "加油站id")
    private Long gasStationId;

    /** 汽油类型id */
    @Excel(name = "汽油类型id")
    private Long gasTypeId;

    /** 汽油的价格 */
    @Excel(name = "汽油的价格")
    private Double price;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }

    public void setGasStationId(Long gasStationId) 
    {
        this.gasStationId = gasStationId;
    }

    public Long getGasStationId() 
    {
        return gasStationId;
    }

    public void setGasTypeId(Long gasTypeId) 
    {
        this.gasTypeId = gasTypeId;
    }

    public Long getGasTypeId() 
    {
        return gasTypeId;
    }

    public void setPrice(Double price)
    {
        this.price = price;
    }

    public Double getPrice()
    {
        return price;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("gasStationId", getGasStationId())
            .append("gasTypeId", getGasTypeId())
            .append("price", getPrice())
            .toString();
    }
}
